package com.enums;

import java.util.stream.Stream;

/**
 * @author ANG.YU
 */
@SuppressWarnings("all")
public enum SpaceShip {
    HELLO,WORLD;

    @Override
    public String toString() {
        String id = name();
        String lower = id.substring(1).toLowerCase();
        return id.charAt(0) + lower;
    }

    public static void main(String[] args) {
        Stream.of(values()).forEach(System.out::println);
    }
}
